CheckpointExpression

Verifies if the value returned by an expression is True. Use to verify expressions that return True/False or numeric values.

Syntax

CheckpointExpression(Expression, FailureBehavior, "Warning")

Arguments

Argument Description
Expression Expression to check.
FailureBehavior Optional failure behavior. True stops the script if the checkpoint fails. False displays a warning and continues playback. If not specified, True is used.
Warning Optional message to display in the Errors pane and run report when checkpoints fail.

Example

CheckpointExpression(FileSize("Output.txt") > 1000, False, "File is too big")